using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace AquaButtonTester
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class Form1 : System.Windows.Forms.Form
	{
		private AquaButtonTester.AquaButton aquaButton1;
		private AquaButtonTester.AquaButton aquaButton2;
		private AquaButtonTester.AquaButton aquaButton3;
		private AquaButtonTester.AquaButton aquaButton4;
		private AquaButtonTester.AquaButton aquaButton5;
		private AquaButtonTester.AquaButton aquaButton6;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Form1()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.aquaButton1 = new AquaButtonTester.AquaButton();
			this.aquaButton2 = new AquaButtonTester.AquaButton();
			this.aquaButton3 = new AquaButtonTester.AquaButton();
			this.aquaButton4 = new AquaButtonTester.AquaButton();
			this.aquaButton5 = new AquaButtonTester.AquaButton();
			this.aquaButton6 = new AquaButtonTester.AquaButton();
			this.SuspendLayout();
			// 
			// aquaButton1
			// 
			this.aquaButton1.BackColor = System.Drawing.Color.DarkTurquoise;
			this.aquaButton1.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton1.Location = new System.Drawing.Point(16, 16);
			this.aquaButton1.Name = "aquaButton1";
			this.aquaButton1.PulseOnFocus = true;
			this.aquaButton1.Size = new System.Drawing.Size(112, 48);
			this.aquaButton1.TabIndex = 0;
			this.aquaButton1.Text = "Button 1";
			this.aquaButton1.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// aquaButton2
			// 
			this.aquaButton2.BackColor = System.Drawing.Color.Tomato;
			this.aquaButton2.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton2.Location = new System.Drawing.Point(152, 16);
			this.aquaButton2.Name = "aquaButton2";
			this.aquaButton2.Size = new System.Drawing.Size(112, 48);
			this.aquaButton2.TabIndex = 1;
			this.aquaButton2.Text = "Button 2";
			this.aquaButton2.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// aquaButton3
			// 
			this.aquaButton3.BackColor = System.Drawing.Color.RosyBrown;
			this.aquaButton3.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton3.Location = new System.Drawing.Point(16, 72);
			this.aquaButton3.Name = "aquaButton3";
			this.aquaButton3.PulseOnFocus = true;
			this.aquaButton3.Size = new System.Drawing.Size(112, 48);
			this.aquaButton3.TabIndex = 3;
			this.aquaButton3.Text = "Button 3";
			this.aquaButton3.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// aquaButton4
			// 
			this.aquaButton4.BackColor = System.Drawing.Color.DodgerBlue;
			this.aquaButton4.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton4.Location = new System.Drawing.Point(152, 72);
			this.aquaButton4.Name = "aquaButton4";
			this.aquaButton4.Size = new System.Drawing.Size(112, 48);
			this.aquaButton4.TabIndex = 2;
			this.aquaButton4.Text = "Button 4";
			this.aquaButton4.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// aquaButton5
			// 
			this.aquaButton5.BackColor = System.Drawing.Color.MediumSeaGreen;
			this.aquaButton5.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton5.Location = new System.Drawing.Point(16, 136);
			this.aquaButton5.Name = "aquaButton5";
			this.aquaButton5.PulseOnFocus = true;
			this.aquaButton5.Size = new System.Drawing.Size(112, 48);
			this.aquaButton5.TabIndex = 1;
			this.aquaButton5.Text = "Button 5";
			this.aquaButton5.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// aquaButton6
			// 
			this.aquaButton6.BackColor = System.Drawing.Color.Violet;
			this.aquaButton6.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
			this.aquaButton6.Location = new System.Drawing.Point(152, 136);
			this.aquaButton6.Name = "aquaButton6";
			this.aquaButton6.Size = new System.Drawing.Size(112, 48);
			this.aquaButton6.TabIndex = 0;
			this.aquaButton6.Text = "Button 6";
			this.aquaButton6.Click += new System.EventHandler(this.aquaButton_Click);
			// 
			// Form1
			// 
			this.AcceptButton = this.aquaButton2;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.Color.White;
			this.ClientSize = new System.Drawing.Size(288, 238);
			this.Controls.Add(this.aquaButton6);
			this.Controls.Add(this.aquaButton5);
			this.Controls.Add(this.aquaButton4);
			this.Controls.Add(this.aquaButton3);
			this.Controls.Add(this.aquaButton2);
			this.Controls.Add(this.aquaButton1);
			this.Name = "Form1";
			this.Text = "AquaButton Demo";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}

		private void aquaButton_Click(object sender, System.EventArgs e)
		{
			Button btn = (Button) sender;
			MessageBox.Show("You clicked " + btn.Name);
		}

		private void Form1_Load(object sender, System.EventArgs e)
		{
			this.aquaButton1.Focus();
		}
	}
}
